#include "setting.h"

setting::setting(QWidget *parent)
	: QDialog(parent)
{
	ui.setupUi(this);
}

setting::~setting()
{}

void setting::closeEvent(QCloseEvent*)
{
	qDebug() << "setting::closeEvent";
	com_munber = ui.spinBox->value();
}

void setting::showEvent(QShowEvent*)
{
	qDebug() << "setting::showEvent";
	ui.spinBox->setValue(com_munber);
}
